package com.zzxz.practicaltrainingsys.service;

import com.zzxz.practicaltrainingsys.entity.Adm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdmService {
    List<Adm> queryAllAdm();
    Adm getAdmById(Integer id);
    int insertAdm(Adm adm);
    int updateAdm(Adm adm);

    Adm getAdmByPhone(String phone);
    int updateAdmStatus(@Param("admin_id") Integer admin_id);
}